package com.bw.elastic.feign;

import com.bw.common.core.domain.Result;
import com.bw.elastic.common.domin.SkuEsModelList;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("bw-elastic")
public interface ProducerFeign {

    /**
     * 上架
     *
     * @param
     * @return
     */
    @PostMapping("pmsSpuInfo/addEs")
    Result addEs(@RequestBody List<SkuEsModelList> list);
}
